import requests


class MksxLoginApi(object):
    @classmethod
    def login(cls, res_data):
        resp = requests.post(url="http://admin.5istudy.online/login/", json=res_data)
        return resp


if __name__ == '__main__':
    res_data = {"username": 15000000002, "password": 123456}
    res = MksxLoginApi.login(res_data)
    print(res.json())

